﻿<%@ Page Language="C#" MasterPageFile="~/Common/Master/FrameMain.master" AutoEventWireup="true" Inherits="Contact_Inner_CardList" Title="无标题页" Codebehind="CardList.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .style1
        {
            width: 70px;
            text-align: right;
            padding-right: 10px;
            white-space: nowrap;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="toolbar">
        <ul>
            <li style="width:85px;"><a id="lnkDispMode" runat="server" href="javascript:;"><span><b style="background-image: url(../../common/images/common/sort.gif)">
                &nbsp;</b><asp:Literal ID="Literal1" runat="server" Text="列表显示"></asp:Literal></span></a></li>
            <li style="width:85px;"><a id="lnkExport" runat="server" href="javascript:;"><span><b style="background-image: url(../../common/images/common/export.gif)">
                &nbsp;</b><asp:Literal ID="Literal2" runat="server" Text="导出列表"></asp:Literal></span></a></li>
            <li>
                <asp:Button ID="btnDispMode" runat="server" Text="Button" CssClass="hide" OnClick="btnDispMode_Click" />
                <asp:Button ID="btnExport" CssClass="hide" runat="server" Text="Button" OnClick="btnExport_Click" />
            </li>
        </ul>
    </div>
    <div id="head">
        <div class="left">
            <asp:Label ID="lblDirName" runat="server" Text="Label" Font-Bold="True"></asp:Label>&nbsp;<asp:Label
                ID="lblCount" runat="server" Text="Label"></asp:Label></div>
        <div class="right">
            <asp:TextBox ID="txtCondition" runat="server" CssClass="txt_line" Width="80px"></asp:TextBox>
            <asp:LinkButton ID="btnSearch" runat="server" OnClick="btnSearch_Click">快速检索</asp:LinkButton></div>
    </div>
    <div id="content" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" id="lvList">
            <asp:ListView ID="rptList" runat="server" GroupItemCount="2">
                <LayoutTemplate>
                    <tr id="groupPlaceholder" runat="server">
                    </tr>
                </LayoutTemplate>
                <GroupTemplate>
                    <tr>
                        <td id="itemPlaceholder" runat="server">
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </GroupTemplate>
                <ItemTemplate>
                    <td style="width: 50%;">
                        <div class="card">
                            <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; background-color: White">
                                <tr style="height: 24px;">
                                    <td style="width: 100px; vertical-align: top; padding: 5px;" rowspan="6">
                                        <asp:Image ID="Image2" runat="server" ImageUrl='<%#Eval("Photo") %>' Height="140px" Width="100px" />
                                    </td>
                                    <td style="width: 5px;">
                                    </td>
                                    <td class="style1">
                                        <asp:Label ID="Label6" runat="server" Text="姓　　名："></asp:Label>
                                    </td>
                                    <td nowrap="nowrap">
                                        <asp:HyperLink ID="lnkName" runat="server" Text='<%# Eval("Name") %>' NavigateUrl="#"></asp:HyperLink>
                                    </td>
                                    <td style="width: 20px;">
                                        <asp:CheckBox ID="chkSelect" runat="server" />
                                    </td>
                                </tr>
                                <tr style="height: 23px;">
                                    <td>
                                    </td>
                                    <td class="style1">
                                        <asp:Label ID="Label8" runat="server" Text="联系电话："></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label3" runat="server" Text='<%# Eval("OfficePhone") %>'></asp:Label>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr style="height: 23px;">
                                    <td>
                                    </td>
                                    <td class="style1">
                                        <asp:Label ID="Label9" runat="server" Text="手　　机："></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label4" runat="server" Text='<%# Eval("Mobile") %>'></asp:Label>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr style="height: 24px;">
                                    <td>
                                    </td>
                                    <td class="style1">
                                        <asp:Label ID="Label10" runat="server" Text="电子邮件："></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label5" runat="server" Text='<%# Eval("Email") %>'></asp:Label>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr style="height: 23px;">
                                    <td>
                                    </td>
                                    <td class="style1">
                                        <asp:Label ID="Label13" runat="server" Text="M　S　N："></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label14" runat="server" Text='<%# Eval("MSN") %>'></asp:Label>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr style="height: 23px;">
                                    <td>
                                    </td>
                                    <td class="style1">
                                        <asp:Label ID="Label11" runat="server" Text="Q　　&nbsp;Q："></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label12" runat="server" Text='<%# Eval("QQ") %>'></asp:Label>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                
                            </table>
                        </div>
                    </td>
                </ItemTemplate>
                <EmptyDataTemplate>
                    <tr class="empty">
                        <td>
                            没有联系人
                        </td>
                    </tr>
                </EmptyDataTemplate>
            </asp:ListView>
        </table>
    </div>
</asp:Content>
